package cn.gov.pbc.dream.common;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ResponseCode {
    SUCCESS(0, "成功"),
    ERROR(1, "程序哪里出错了"),
    NEED_LOGIN(2, "未登录"),
    ILLEGAL_ARGUMENT(3, "参数错误"),
    PRIVILEGE_ERROR(4, "根限不足")
    ;
    private final int code;

    private final String desc;


}
